package com.example.listcontainerdemo203zlw2021606130.slice;

import com.example.listcontainerdemo203zlw2021606130.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;

import java.util.ArrayList;

public class NewsDetaSlice extends AbilitySlice {
    ArrayList<String> newsdate_neirong;
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent(ResourceTable.Layout_ability_news_deta);
        Intent in=new Intent();
       newsdate_neirong = in.getStringArrayListParam("date");


    }

    @Override
    public void onActive() {
        super.onActive();
    }

    @Override
    public void onForeground(Intent intent) {
        super.onForeground(intent);
    }
}
